package com.zdkj.subway.rca.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.rca.entity.SwCkClearDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 清分及划账记录
 *
 * @author stw
 * @date 2020-11-30 18:52:08
 */
public interface SwCkClearDetailMapper extends BaseMapper<SwCkClearDetail> {
    List<String> selectLineList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //西安地铁日报表
    List<Map<String, Object>> selectDailyReportDataList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //单独获取西安地铁日报表中的长安通刷卡消费和交通一卡通金额（该两个值只有线路级别的总计，车站金额为0）
    List<Map<String, Object>> getXasubwayCatTicketPayCardAndTrafficCardMap(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getB3(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getB4(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getB5(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getB6(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getC1(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getC2(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getC3(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getC4(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getC5(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getG4(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getG5(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getG6(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getG7(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> getG9(@Param("startDate") String startDate, @Param("endDate") String endDate);//智码APP代售

    List<Map<String, Object>> getH2(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //机场城际14号线机场段日报表
    List<Map<String, Object>> selectOtherOperatorsDailyReportDataList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //9号线日报表
    List<Map<String, Object>> selectOtherXaztOperatorsDailyReportDataList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //西安地铁日报表特殊票种获取  日票纪念票计次票
    List<Map<String, Object>> selectSpecialTicketsDailyReportDataList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //机场城际14号线机场段日报表   日票纪念票计次票
    List<Map<String, Object>> selectSpecialTicketsOtherOperatorsDailyReportDataList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //9号线日报表    日票纪念票计次票
    List<Map<String, Object>> selectSpecialTicketsOtherXaztOperatorsDailyReportDataList(@Param("startDate") String startDate, @Param("endDate") String endDate);

    //直接获取系统清分数据
    List<Map<String, Object>> getSystemClearData(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<SwCkClearDetail> listQuery(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
